From 7ce198ea6f75d8c3afd4b84141b77f84679ce662 Mon Sep 17 00:00:00 2001 From: Benjamin Otte Date: Mon, 3 Jun 2013 17:11:26 +0200 Subject: [PATCH] x11: Remove motif dnd leftovers --- gdk/x11/gdkdisplay-x11.c | 9 --------- gdk/x11/gdkdisplay-x11.h | 6 ------ 2 files changed, 15 deletions(-) diff --git a/gdk/x11/gdkdisplay-x11.c b/gdk/x11/gdkdisplay-x11.c index 42ed1531fb..09a4347298 100644 --- a/gdk/x11/gdkdisplay-x11.c +++ b/gdk/x11/gdkdisplay-x11.c @@ -1873,20 +1873,11 @@ static void gdk_x11_display_finalize (GObject *object) { GdkX11Display *display_x11 = GDK_X11_DISPLAY (object); - gint i; /* Keymap */ if (display_x11->keymap) g_object_unref (display_x11->keymap); - /* Free motif Dnd */ - if (display_x11->motif_target_lists) - { - for (i = 0; i < display_x11->motif_n_target_lists; i++) - g_list_free (display_x11->motif_target_lists[i]); - g_free (display_x11->motif_target_lists); - } - _gdk_x11_cursor_display_finalize (GDK_DISPLAY (display_x11)); /* Empty the event queue */ diff --git a/gdk/x11/gdkdisplay-x11.h b/gdk/x11/gdkdisplay-x11.h index 7bb3b9d409..69ba890ca4 100644 --- a/gdk/x11/gdkdisplay-x11.h +++ b/gdk/x11/gdkdisplay-x11.h @@ -77,12 +77,6 @@ struct _GdkX11Display /* drag and drop information */ GdkDragContext *current_dest_drag; - /* data needed for MOTIF DnD */ - Window motif_drag_window; - GdkWindow *motif_drag_gdk_window; - GList **motif_target_lists; - gint motif_n_target_lists; - /* Mapping to/from virtual atoms */ GHashTable *atom_from_virtual; GHashTable *atom_to_virtual; -- 2.30.2